//============================================================================
// Name        : test-creator-1.cpp
// Author      : 
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>

#include "AppModule.h"
#include "AppModule2.h"
#include "AppModule3.h"
#include "GreetingService.h"
#include "GreetingServiceV2.h"

int main() {
	std::cout << "Empty logger" << std::endl;
	Module::AppModule module1;
	module1.getGreetingService()->sayGreeting();

	std::cout << "STD logger" << std::endl;
	Module::AppModule2 module2;
	module2.getGreetingService()->sayGreeting();

	std::cout << "V2 " << std::endl;
	Nested::AppModule3 module3(&module2);
	module3.getGreetingService()->sayGreeting();

	return 0;
}
